#include <iostream>

#include "init_systems.h"

#include "modules/Vision/VisionManager.h"
#include "modules/Util/Conf.h"

int main (int argc, char **argv) {
  kthrobot::Init::RegisterCommon();
  if (!kthrobot::Init::Systems(argc, argv)) return 1;

  Group5::VisionManager::getInstance().Up();

  std::cout << Group5::VisionManager::getInstance().getBallResult().detected;

  std::cin.get();

  Group5::VisionManager::getInstance().Down();

  kthrobot::Init::Shutdown();
  return 0;
}
